package com.woniu.hismanger.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class HisCreateOfficeParam {
    @ApiModelProperty("科室表主键ID")
    private Integer officeId;
    @NotNull(
            message = "部门ID不能为空"
    )
    @ApiModelProperty("部门ID")
    private Integer departmentId;
    @NotEmpty(
            message = "科室名字不能为空"
    )
    @ApiModelProperty("科室名字")
    private String officeName;
}
